package com.applet.common.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author “XuShao”
 * @date 2024/12/21 15:39
 * @description
 */
@Component
@Data
@ConfigurationProperties(prefix = "zyz.file")
public class FileProperties {
    private Double imageSize;
    private List<String> imageSuffix;

    private Double videoSize;
    private List<String> videoSuffix;

    private Double creationSize;
    private List<String> creationSuffix;
}
